#ifndef _BT_SYS_GLOBALS_H_
#define _BT_SYS_GLOBALS_H_

#include <SDL/SDL.h>
#include <GL/gl.h>

#include "bt.h"
#include "globals.h"

// Filesystem
const char* g_homeDir = ".birdtoast";

// Video
const char* g_winTitle = "Bird Toast";
SDL_Surface* g_windowSurface;
unsigned int g_winWidth = 1024;
unsigned int g_winHeight = 768;
unsigned int g_winBpp = 32;
Uint32 g_winFlags = SDL_HWSURFACE|SDL_DOUBLEBUF|SDL_OPENGL|SDL_ANYFORMAT;

void InitVideo();

// Control
bool g_running = true;
bt::InputListener g_inputListener;

void Update();
void CleanUp();

// Scenes
bt::Scene* g_curScene = NULL;

bt::Scene g_scene_gameGoose(&Scene_GameGoose::Init,
							&Scene_GameGoose::HandleEvent,
							&Scene_GameGoose::Run,
							&Scene_GameGoose::Uninit);

#endif /* _BT_SYS_GLOBALS_H_ */
